try{
	Type.registerNamespace('SrcOrderVO');
	//工序完工报告来源生产订单VO
	SrcOrderVO=function() {};
	SrcOrderVO.prototype=new NCMMPubUtil.SuperVO();
	//单据号
	SrcOrderVO.ORDERID={
		name:"orderid",type:NCMMPubUtil.VALUE_TYPE_TEXT
	}
	//单据行号
	SrcOrderVO.ORDERROWNO={
		name:"orderrowno",type:NCMMPubUtil.VALUE_TYPE_TEXT
	}
	//工序id
	SrcOrderVO.OPID={
		name:"opid",type:NCMMPubUtil.VALUE_TYPE_TEXT
	}
	//工序号
	SrcOrderVO.OPCODE={
		name:"opcode",type:NCMMPubUtil.VALUE_TYPE_TEXT
	}
	//工序名称
	SrcOrderVO.OPNAME={
		name:"opname",type:NCMMPubUtil.VALUE_TYPE_TEXT
	}
	//工作中心id
	SrcOrderVO.WKID={
		name:"wkid",type:NCMMPubUtil.VALUE_TYPE_TEXT
	}
	//工作中心编码
	SrcOrderVO.WKCODE={
		name:"wkcode",type:NCMMPubUtil.VALUE_TYPE_TEXT
	}
	//工作中心名称
	SrcOrderVO.WKNAME={
		name:"wkname",type:NCMMPubUtil.VALUE_TYPE_TEXT
	}
	//物料id
	SrcOrderVO.MATERIAL={
		name:"material",type:NCMMPubUtil.VALUE_TYPE_TEXT
	}
	//物料CODE
	SrcOrderVO.MATERIALCODE={
		name:"materialcode",type:NCMMPubUtil.VALUE_TYPE_TEXT
	}
	//物料NAME
	SrcOrderVO.MATERIALNAME={
		name:"materialname",type:NCMMPubUtil.VALUE_TYPE_TEXT
	}
	//计划生产数量
	SrcOrderVO.PRODUCENUM={
		name:"producenum",type:NCMMPubUtil.VALUE_TYPE_REAL
	}
	//完工数量
	SrcOrderVO.COMPLETENUM={
		name:"completenum",type:NCMMPubUtil.VALUE_TYPE_REAL
	}
	//单位ID
	SrcOrderVO.UNITID={
		name:"unitid",type:NCMMPubUtil.VALUE_TYPE_TEXT
	}
	//单位编码
	SrcOrderVO.UNITCODE={
		name:"unitcode",type:NCMMPubUtil.VALUE_TYPE_TEXT
	}
	//单位名称
	SrcOrderVO.UNITNAME={
		name:"unitname",type:NCMMPubUtil.VALUE_TYPE_TEXT
	}
	//计划开工时间
	SrcOrderVO.PLANSTARTDATE={
		name:"planstartdate",type:NCMMPubUtil.VALUE_TYPE_TEXT
	}
	//计划完工时间
	SrcOrderVO.PLANENDDATE={
		name:"planenddate",type:NCMMPubUtil.VALUE_TYPE_TEXT
	}
	SrcOrderVO.prototype.getAllAttrs=function() {
		return [ //单据号
				SrcOrderVO.ORDERID
				//单据行号
				,SrcOrderVO.ORDERROWNO
				//工序id
				,SrcOrderVO.OPID
				//工序号
				,SrcOrderVO.OPCODE
				//工序名称
				,SrcOrderVO.OPNAME
				//工作中心id
				,SrcOrderVO.WKID
				//工作中心编码
				,SrcOrderVO.WKCODE
				//工作中心名称
				,SrcOrderVO.WKNAME
				//物料id
				,SrcOrderVO.MATERIAL
				//物料CODE
				,SrcOrderVO.MATERIALCODE
				//物料NAME
				,SrcOrderVO.MATERIALNAME
				//计划生产数量
				,SrcOrderVO.PRODUCENUM
				//完工数量
				,SrcOrderVO.COMPLETENUM
				//单位ID
				,SrcOrderVO.UNITID
				//单位编码
				,SrcOrderVO.UNITCODE
				//单位名称
				,SrcOrderVO.UNITNAME
				//计划开工时间
				,SrcOrderVO.PLANSTARTDATE
				//计划完工时间
				,SrcOrderVO.PLANENDDATE];
	}
	SrcOrderVO.prototype.getTableName=function() {
		return "mm_pcr_srcorder";
		
	}
	SrcOrderVO.prototype.getPrimaryAttr=function() {
		return SrcOrderVO.ORDERID;
	}
}catch(e){
	$e(e);
}